<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/template.xhtml">

	<ui:define name="content">

		<p:growl id="growl" showDetail="true" />



			<h:form id="frm">

<!-- 				<h:panelGrid columns="3"> -->

<!-- 					<p:outputLabel value="Número do Processo:" -->
<!-- 						style="font-weight: bold;" /> -->
<!-- 					<p:inputText id="nome" value="#{veiculoBean.argumento}" size="20" /> -->

<!-- 					<p:button value="Buscar" /> -->

<!-- 				</h:panelGrid> -->

				
				<p:panel id="panelConsulta" header="Consulta Por Número do Processo">
				<h:panelGrid id="consultaProcesso" columns="4" cellpadding="5">
					<h:outputLabel for="numeroProcesso" value="Numero do processo: " />
					<p:inputMask id="numeroProcesso"
						value="#{veiculoBean.veiculoDetran.veiculo.placaRouboFurto}"
						mask="999999" required="true" label="numeroProcesso" />
					<p:message for="numeroProcesso" display="icon" />
					<p:commandButton value="Consultar"
						actionListener="#{veiculoBean.consultarBaseBin}"
						update="" />
				</h:panelGrid>

				<br />
				<h:panelGrid id="dadosProcesso" columns="4" cellpadding="5">

					<h:outputText value="Numero do Processo: " />
					<h:outputText value="#{veiculoBean.veiculoDetran.cor.nome}" />
					<h:outputText value="Nome do Interessado: " />
					<h:outputText value="#{processoMB.processo.alunoMatricula.nome}" />


					<h:outputText value="Matricula: " />
					<h:outputText value="#{veiculoBean.veiculoDetran.marcaModelo.nome}" />
					<h:outputText value="Email: " />
					<h:outputText value="#{veiculoBean.veiculoDetran.municipio}" />

					<h:outputText value="Status: " />
					<h:outputText value="#{veiculoBean.veiculoDetran.anoModelo}" />
					<h:outputText value="Telefone: " />
					<h:outputText value="#{veiculoBean.veiculoDetran.ufJurisdicao}" />
					

				</h:panelGrid>
				
					<p:fieldset>
						<h:outputText value="Descrição: " />
						<h:outputText value="#{veiculoBean.veiculoDetran.anoFabricacao}" />
					</p:fieldset>
					
			</p:panel>

							

		

			</h:form>


	</ui:define>

</ui:composition>

</html>